package nl.saxion.saktiehuis.bestelservice.model;

import java.io.Serializable;

import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlElementWrapper;
import javax.xml.bind.annotation.XmlElements;
import javax.xml.bind.annotation.XmlList;
import javax.xml.bind.annotation.XmlRootElement;
import javax.xml.bind.annotation.XmlType;

@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "bestelling", propOrder = {
    "bestelNr",
    "klantNaam",
    "producten"
})
public class Bestelling implements Serializable{
	
	private Long bestelNr;
	private String klantNaam;
    @XmlElement(nillable = true)
	private Product[] producten;

	public Long getBestelNr() {
		return bestelNr;
	}

	public void setBestelNr(Long bestelNr) {
		this.bestelNr = bestelNr;
	}

	public String getKlantNaam() {
		return klantNaam;
	}

	public void setKlantNaam(String klantNaam) {
		this.klantNaam = klantNaam;
	}

	public Product[] getProducten() {
		return producten;
	}

	public void setProducten(Product[] producten) {
		this.producten = producten;
	}
}
